package hcn.protocol.ods.inpatient;

import javax.xml.bind.annotation.*;
import java.util.Date;
import java.util.List;

@XmlRootElement(name = "MsgBody")
public class SurgeryInfoReq {
    private String VisitOrganization;
    private String QueryType;
    private String OperationSourceId;
    private String DeptCode;
    private String DoctorCode;
    private String BeginDateTime;//开始时间
    private String EndDateTime;//结束时间
    private List<MedicalCardId> MedicalCardId;
    private List<IdCard> IdCard;
    private List<SourcePatientId> SourcePatientId;
    private String PatientName;//患者姓名
    private String HospizationId;//住院号码
    private String Keyword;//患者姓名PC
    private Integer PageNo = 1;
    private Integer PageSize = 20;
    private String dateType;//事件类型：1申请时间 2安排时间---PC端


    @XmlElement(name = "PageNo")
    public Integer getPageNo() {
        return PageNo;
    }

    public void setPageNo(Integer pageNo) {
        PageNo = pageNo;
    }

    @XmlElement(name = "PageSize")
    public Integer getPageSize() {
        return PageSize;
    }

    public void setPageSize(Integer pageSize) {
        PageSize = pageSize;
    }

    @XmlElement(name = "PatientName")
    public String getPatientName() {
        return PatientName;
    }

    public void setPatientName(String patientName) {
        PatientName = patientName;
    }

    @XmlElement(name = "Keyword")
    public String getKeyword() {
        return Keyword;
    }

    public void setKeyword(String keyword) {
        Keyword = keyword;
    }

    @XmlElement(name = "DateType")
    public String getDateType() {
        return dateType;
    }

    public void setDateType(String dateType) {
        this.dateType = dateType;
    }

    @XmlElement(name = "HospizationId")
    public String getHospizationId() {
        return HospizationId;
    }

    public void setHospizationId(String hospizationId) {
        HospizationId = hospizationId;
    }


    @XmlElementWrapper(name = "MedicalCardIdLists")
    @XmlElement(name = "MedicalCardIdList")
    public List<MedicalCardId> getMedicalCardId() {
        return MedicalCardId;
    }

    public void setMedicalCardId(List<MedicalCardId> medicalCardId) {
        MedicalCardId = medicalCardId;
    }

    @XmlElementWrapper(name = "IdCardLists")
    @XmlElement(name = "IdCardList")
    public List<IdCard> getIdCard() {
        return IdCard;
    }

    public void setIdCard(List<IdCard> idCard) {
        IdCard = idCard;
    }

    @XmlElementWrapper(name = "SourcePatientIdLists")
    @XmlElement(name = "SourcePatientIdList")
    public List<SurgeryInfoReq.SourcePatientId> getSourcePatientId() {
        return SourcePatientId;
    }

    public void setSourcePatientId(List<SurgeryInfoReq.SourcePatientId> sourcePatientId) {
        SourcePatientId = sourcePatientId;
    }

    public static class MedicalCardId {
        private String MedicalCardType;
        private String MedicalCardId;

        @XmlElement(name = "MedicalCardType")
        public String getMedicalCardType() {
            return MedicalCardType;
        }

        public void setMedicalCardType(String medicalCardType) {
            MedicalCardType = medicalCardType;
        }

        @XmlElement(name = "MedicalCardId")
        public String getMedicalCardId() {
            return MedicalCardId;
        }

        public void setMedicalCardId(String medicalCardId) {
            MedicalCardId = medicalCardId;
        }
    }

    public static class IdCard {
        private String IdCardCode;
        private String IdCard;

        @XmlElement(name = "IdCardCode")
        public String getIdCardCode() {
            return IdCardCode;
        }

        public void setIdCardCode(String idCardCode) {
            IdCardCode = idCardCode;
        }

        @XmlElement(name = "IdCard")
        public String getIdCard() {
            return IdCard;
        }

        public void setIdCard(String idCard) {
            IdCard = idCard;
        }
    }

    public static class SourcePatientId {
        private String SourcePatientId;

        @XmlElement(name = "SourcePatientId")
        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }
    }

    @XmlElement(name = "VisitOrganization")
    public String getVisitOrganization() {
        return VisitOrganization;
    }

    public void setVisitOrganization(String visitOrganization) {
        VisitOrganization = visitOrganization;
    }

    @XmlElement(name = "QueryType")
    public String getQueryType() {
        return QueryType;
    }

    public void setQueryType(String queryType) {
        QueryType = queryType;
    }

    @XmlElement(name = "OperationSourceId")
    public String getOperationSourceId() {
        return OperationSourceId;
    }

    public void setOperationSourceId(String operationSourceId) {
        OperationSourceId = operationSourceId;
    }

    @XmlElement(name = "DeptCode")
    public String getDeptCode() {
        return DeptCode;
    }

    public void setDeptCode(String deptCode) {
        DeptCode = deptCode;
    }

    @XmlElement(name = "DoctorCode")
    public String getDoctorCode() {
        return DoctorCode;
    }

    public void setDoctorCode(String doctorCode) {
        DoctorCode = doctorCode;
    }

    @XmlElement(name = "BeginDateTime")
    public String getBeginDateTime() {
        return BeginDateTime;
    }

    public void setBeginDateTime(String beginDateTime) {
        BeginDateTime = beginDateTime;
    }

    @XmlElement(name = "EndDateTime")
    public String getEndDateTime() {
        return EndDateTime;
    }

    public void setEndDateTime(String endDateTime) {
        EndDateTime = endDateTime;
    }
}




